Skip to main content

Reminder SMS Sending Process

Description:

Vaccination reminder SMS (for women/child) are scheduled and sent daily based on predefined dates. Each primary vaccine is associated with three reminder SMS messages. Below is the schedule:

Reminder No.Duration
1st SMS1 day before the vaccination due date.
2nd SMSOn the day of the vaccination due date.
3rd SMSSix days post-vaccination due date only if the child doesn’t show up on time.

The ReminderPusherJob.java runs every 15 minutes, retrieves SCHEDULED SMS (on today’s date) from the database, and inserts them into the servicelog table. Another service, ServiceLogExecuterJob.java, also runs every 15 minutes, processes records from the database, and sends them to the smsStarseel service via a REST API.

Schedule:

Job NameSchedule
ReminderPusherJob.javaEvery 15 mins
ServiceLogExecuterJob.javaEvery 15 mins

Schema:

Below are the key tables used by incentive disbursement process:

  • remindersms
  • reminder
  • vaccination
  • child
  • womenvaccination
  • women
  • womenanalysis
  • servicelog

Dependencies:

  • SmsTarsee.ljava::postOutbound()
  • ReminderUtils.java::processAntenatalReminderSms()
  • ReminderUtils.java::processReminderSms()

Process Flow:

Reminder Service Flow:

Reminder Process

Service Log Executor Flow:

ServiceLog Executor Process